<?php

use Illuminate\Support\Facades\Route;
use Modules\Demo\Http\Controllers\DemoController;
use Modules\Demo\Http\Controllers\CasClassController;
use Modules\Demo\Http\Controllers\AaaController;

Route::prefix('demo')->group(function(){
	Route::apiResource('demo', DemoController::class);
    Route::put('demo/enable/{id}', [DemoController::class, 'enable']);
	
	Route::apiResource('cas/class', CasClassController::class);
	
	Route::apiResource('aaa', AaaController::class);
	//next
});


